﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WPFHexaEditorExample"
        xmlns:Control="clr-namespace:WPFHexaEditor.Control;assembly=WPFHexaEditor.Control" x:Class="WPFHexaEditorExample.MainWindow"
        mc:Ignorable="d" Loaded="Window_Loaded"
    Background="WhiteSmoke"
        Title="MainWindow" Height="418" Width="772">
    <Grid>
        <Control:HexaEditor x:Name="HexEdit" Margin="10,70,10,10" Height="Auto" Width="Auto"/>
        <Button x:Name="SetPositionButton" Content="Set Position" HorizontalAlignment="Left" Margin="71,10,0,0" VerticalAlignment="Top" Width="75" Click="SetPositionButton_Click"/>
        <Button x:Name="button" Content="BytePerLine" HorizontalAlignment="Left" Margin="238,21,0,0" VerticalAlignment="Top" Width="75" Click="button_Click"/>
    </Grid>
</Window>
